//
//  UIImage+BZCommon.h
//  Pods
//
//  Created by 郭艺伟 on 2017/9/25.
//
//

#import <UIKit/UIKit.h>
#import <AssetsLibrary/AssetsLibrary.h>
@interface UIImage (BZCommon)
+(UIImage *)imageWithColor:(UIColor *)aColor;

+(UIImage *)imageWithColor:(UIColor *)aColor withFrame:(CGRect)aFrame;

-(UIImage*)scaledToSize:(CGSize)targetSize;

-(UIImage*)scaledToSize:(CGSize)targetSize highQuality:(BOOL)highQuality;

-(UIImage*)scaledToMaxSize:(CGSize )size;

+ (UIImage *)fullResolutionImageFromALAsset:(ALAsset *)asset;

+ (UIImage *)fullScreenImageALAsset:(ALAsset *)asset;

+ (UIImage *)imageWithFileType:(NSString *)fileType;

- (UIImage*)scaleByFactor:(float)scaleFactor;
@end
